<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>项目设置</title>
<meta charset="utf-8">

<link href="../css/coopUpdate.css" media="all" rel="stylesheet"
	type="text/css" />
<script src="../js/getParam.js" type="text/javascript"></script>
<script type="text/javascript">
	var paramMap = getUrlParams();
	var projID = paramMap.get("pid");
</script>
<script src="../js/jquery-1.8.2.min.js" type="text/javascript"></script>
<script src="../js/jquery.js" type="text/javascript"></script>
<script src="../js/coopUpdate_common.js" type="text/javascript"></script>
</head>
<body class="win">
	<div class="wrapper">
		<div class="header">
			<h1 class="logo"></h1>
			<ul class="nav">
				<li id="nav-project"><a
					href="../communication/cooperation.html" data-stack=""
					data-stack-root="">项目</a></li>
				<li id="nav-events"><a href="../communication/Comm.html"
					data-stack="" data-stack-root="">聊天室</a></li>
			</ul>
			<div class="command-bar">
				<div class="search-wrap"></div>

				<div class="notification-info"></div>
				<div class="account-info">
					<div class="member-settings"></div>
				</div>
			</div>
		</div>
		<div class="container workspace simple-stack simple-stack-transition">
			<div class="page page-root page-behind simple-pjax">
				<a href="../communication/cooperation.html" class="link-page-behind"
					data-stack="">所有项目</a>
			</div>
			<div class="page  page-1 page-behind simple-pjax" data-url="">
				<a href="javascript:;" onclick="javascript:history.go(-1);"
					class="link-page-behind" data-stack="">返回上一层</a>
			</div>
			<div class="page page-2 simple-pjax">

				<div class="page-inner" data-page-name="项目设置"
					id="page-project-settings">
					<h3>项目设置</h3>
					<div class="form">
						<div class="form-item">
							<div class="form-field">
								<input type="text" name="project_name" id="project-name"
									placeholder="项目名称" data-validate="required;length:1,255"
									data-validate-msg="请填写项目名称;项目名称最长255个字符" value="">
							</div>
						</div>
						<div class="form-item">
							<div class="form-field">
								<textarea name="project_desc" id="project-desc"
									data-validate-msg="项目描述最长1000个字符" data-validate="length:1,1000"
									placeholder="简单描述项目，便于其他人理解（选填）"></textarea>
							</div>
						</div>
						<div class="form-item allow-visitor-lock">
							<div class="form-field"></div>
						</div>
						<div class="form-item">
							<button id="btn-save-settings" onclick="updatePro()"
								class="btn btn-primary">保存设置</button>
						</div>
					</div>
					<div class="setting-section">
						<h4>删除项目</h4>
						<p class="desc">项目删除后，所有的内容也将被立刻删除，不能恢复。请谨慎操作</p>
						<button type="button" class="link-delete btn btn-mini"
							onclick="delPro()" id="btn-del-project">了解风险，删除这个项目</button>
					</div>


				</div>

			</div>
		</div>
		<div class="footer">
			© <a href="#" target="_blank">协作平台</a>
		</div>
	</div>